package com.nenglai.admin.modular.system.vo;

import com.kordar.datalist.DataColumn;
import com.kordar.datalist.formatter.CreateTimeFormatter;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * @author kongdehui
 * @date 2021/04/21 22:01
 **/
@Data
@Builder
public class AdminVO {
    @DataColumn
    private Long id;
    @DataColumn
    private String username;
    @DataColumn
    private String phone;
    @DataColumn
    private String password;
    @DataColumn
    private String salt;
    @DataColumn
    private Integer status;
    @DataColumn
    private Integer type;
    @DataColumn
    private String avatar;
    @DataColumn(formatter = CreateTimeFormatter.class, alias = "create_time")
    private Date createTime;
}
